<?php
include_once "../librari/koneksi.php";
$item = $_GET['id'];
$sql = "select * from pelamar where idPelamar=".$item;

$id="";
$nama="";
$log="";
$kec="";
$kep="";
$kar="";
$result = mysql_query($sql);
while ($row = mysql_fetch_array($result)) {
   $id=$row['idPelamar'];
   $nama=$row['nama'];
   $log=$row['nilai_logika'];
   $kec=$row['nilai_kecermatan'];
   $kep=$row['nilai_kepribadian'];
   $kar=$row['nilai_karakter'];
}

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>simpanNilai</title>
<link href="styleadmin.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="styleadmin.css" type="text/css" />
<style type="text/css">

</style></head>

<body>
<div id="header">
    <img src="image/logokanisius1.gif" class="logo" />
</div>

<div id="garis">
</div>

<div id="content">
     <div id="leftcontent">
	 <div id="linksectionhome"><a href="home_hrd.php">Home</a></div>
	 <div id="linksectionhome"><a href="data_pelamar.php">Data Pelamar</a></div>
	 <div id="linksectionhome"><a href="pelamarlolos1.php">Pelamar Lolos 1</a></div>
	 <div id="linksectionhome"> <a href="list_nilai_pelamar.php">Nilai Pelamar</a> </div>
	 <div id="linksectionhome"> <a href="sppk.php">SPPK</a> </div>
	<!-- <div id="linksectionhome"> <a href="tes.php">Tes</a> </div>-->
	 <div id="linksectionhome"> <a href="syarat.php">Syarat</a> </div>
	 <div id="linksectionhome"><a href="logout.php">Logout</a></div>
</div>

<div id="rightcontent">
<form id="form1" name="form1" method="post" action="simpNilai.php">
<table width="350" border="0" cellspacing="2" cellpadding="0" class="keliling">
    <tr bgcolor="#F48021"> 
      <td colspan="2" align="center"><b>SIMPAN NILAI</b></td>
    </tr>
    <input name="id" type="" value="<?php echo $id; ?>" size="20" maxlength="30">
	<tr> 
      <td align="right">NAMA : </td>
      <td><input name="nama" type="text" value="<?php echo $nama; ?>" size="20" maxlength="30"></td>
    </tr>
	<tr> 
      <td align="right">NILAI LOGIKA : </td>
      <td><input name="logika" type="text" value="<?php echo $log; ?>" size="20" maxlength="30"></td>
    </tr>
	<tr> 
      <td align="right">NILAI KECERMATAN : </td>
      <td><input name="kecermatan" type="text" value="<?php echo $kec; ?>" size="20" maxlength="30"></td>
    </tr>
	<tr> 
      <td align="right">NILAI KEPRIBADIAN : </td>
      <td><input name="kepribadian" type="text" value="<?php echo $kep; ?>" size="20" maxlength="30"></td>
    </tr>
	<tr> 
      <td align="right">NILAI KARAKTER : </td>
      <td><input name="karakter" type="text" value="<?php echo $kar; ?>" size="20" maxlength="30"></td>
    </tr>
    <tr> 
      <td>&nbsp;</td>
      <td>
        <label>
          <input type="submit" name="Submit" value="Simpan" />
          </label>
      </td>
    </tr>
  </table>
</form>
</div>
</div>

</body>
</html>

<?
ob_end_flush();
?>
